/*
* Author: Tuanpm
* Date:20/02/2013
* Idea: Class Reminder
*/

function Reminder(baseUrl,module,controller){
	this.module = module;
	this.baseUrl = baseUrl;
	this.controller = controller;
	this.urlPath = baseUrl + '/' + module;
	myClass = this;
}
Reminder.prototype.training_refuse = function(){
	var url = this.urlPath +'/training/index';
	$.ajax({
			url: url,
			type: "POST",
			data: {TD06:'KHONG_DUYET'},
			// cache: true,		
			success: function(string){
				$("div#main-content div#content").html(string);
				actionUrl('../../training/index');
				setHeaderMenu('TRAINING');
				setleftmenu('TRAINING','index');
			}
		});	
}
Reminder.prototype.learning_refuse = function(){
	var url = this.urlPath +'/learning/index';
	$.ajax({
			url: url,
			type: "POST",
			data: {LD06:'KHONG_DUYET'},
			// cache: true,		
			success: function(string){
				$("div#main-content div#content").html(string);
				actionUrl('../../learning/index');
				setHeaderMenu('LEARNING');
				setleftmenu('LEARNING','index');
			}
		});	
}
